package com.czr.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czr.dao.entity.CzrLike;
import com.czr.dao.entity.CzrReply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 点赞表 Mapper 接口
 * </p>
 *
 */
@Mapper
public interface CzrLikeMapper extends BaseMapper<CzrLike> {

    List<CzrLike> getLikePostId(@Param("postId") Integer postId, @Param("userId") Integer userId);

    List<CzrLike> getLikeReplyId(@Param("replyId") Integer replyId,@Param("userId") Integer userId);
}
